package com.cskaoyan.controller.lz_controller;


import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.lzpackage.lz_footprint.FootData;
import com.cskaoyan.bean.params.BaseParam;
import com.cskaoyan.lz_service.FootService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("admin/footprint")
public class AdminFootPrintController {
    @Autowired
    FootService footService;
    @RequestMapping("list")
    public BaseRespVo list(String username, BaseParam param,String goodsId,String userId) {
        FootData userData = footService.query(param,username,goodsId,userId);
        return BaseRespVo.ok(userData);
    }
}
